package com.clayecloud.module_report_repair.adapter;

import android.content.Context;

import com.clayecloud.module_report_repair.R;
import com.clayecloud.module_report_repair.databinding.ActivityReportRepairListItemBinding;
import com.clayecloud.module_report_repair.entity.ReportRepair;

import java.util.List;

public class ReportRepairListAdapter extends BaseBindingAdapter<ReportRepair, ActivityReportRepairListItemBinding> {
    public ReportRepairListAdapter(Context context, List list) {
        super(context, list);
    }

    @Override
    protected int getLayoutResId(int viewType) {
        return R.layout.activity_report_repair_list_item;
    }

    @Override
    protected void onBindItem(ActivityReportRepairListItemBinding binding, ReportRepair item) {
        binding.setModel(item);
    }
}
